package com.javaboy.findme;

import com.javaboy.findme.app.AppConfig;
import com.javaboy.findme.service.IndexServer;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
	public static void main(String[] args) {
//		AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(AppConfig.class);
//		ac.getBean(IndexServer.class).getIndexService();
		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("classpath:spring.xml");
	}
}
